<div class="header">
  <back-Btn></back-Btn>
  项目收款
</div>
<div class="container finance task-review">
  <div class="list f_sk">
    <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
      date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
    <div class="section">
      <div class="list-item flex">
        <div class="w40 c9">交款人</div>
        <div class="w60">{{ TaskReview.result.payer }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">交款日期</div>
        <div class="w60">{{ TaskReview.result.receiveDate | dateFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="c9 w40">项目编号</div>
        <div class="w60">{{ TaskReview.result.projectNo }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">项目名称</div>
        <div class="w60" relative-module="project_store" module-no="{{ TaskReview.result.projectNo }}">
          {{ TaskReview.result.projectName }}
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.targetAccount">
        <div class="w40 c9">收款账户</div>
        <div class="w60" ng-switch="TaskReview.result.targetAccount">
          <div ng-switch-when="1">项目账户</div>
          <div ng-switch-when="2">农民工工资专用账户</div>
        </div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">款项类别</div>
        <div class="w60" ng-switch="TaskReview.result.receiveType">
          <div ng-switch-when="1">工程款</div>
          <div ng-switch-when="2">垫付款</div>
          <div ng-switch-when="8">预借款</div>
          <div ng-switch-when="9">清账款</div>
          <div ng-switch-when="10">已付款</div>
          <div ng-switch-when="13">其他收入</div>
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.receiveType==1">
        <div class="w40 c9">销项发票</div>
        <div class="w60" relative-module="Xm_OutputInvoice" module-no="{{ TaskReview.result.outputInvoiceNo }}">
          {{ TaskReview.result.outputInvoiceNo }}
        </div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">款项用途</div>
        <div class="w60">{{ TaskReview.result.receiveSubType }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">收款金额</div>
        <div class="w60">{{ TaskReview.result.amount | NBFmt }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.peasantWorkerDeposit>0">
        <div class="w40 c9">农民工工资保证金</div>
        <div class="w60">{{ TaskReview.result.peasantWorkerDeposit | NBFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">金额大写</div>
        <div class="w60">{{ TaskReview.result.amountInWorld }}</div>
      </div>
      <div class="list-item flex" ng-hide="TaskReview.result.completion==0">
        <div class="w40 c9">入账状态</div>
        <div class="w60" ng-switch="TaskReview.result.completion">
          <div ng-switch-when="0">未入账</div>
          <div ng-switch-when="1">已入账</div>
        </div>
      </div>
      <div class="list-item flex" ng-hide="TaskReview.result.returnStatus==0">
        <div class="w40 c9">退还状态</div>
        <div class="w60" ng-switch="TaskReview.result.returnStatus">
          <div ng-switch-when="0">未退回</div>
          <div ng-switch-when="1">已退回</div>
        </div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">收款事由</div>
        <div class="w60">{{ TaskReview.result.receiveReason }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.remark">
        <div class="w40 c9">备注</div>
        <div class="w60">{{ TaskReview.result.remark }}</div>
      </div>
      <!-- 自定义字段 -->
      <div checkuser-define field-map="TaskReview.result.customFields"></div>
      <div class="list table-list" ng-show="TaskReview.result.invoices&&TaskReview.result.invoices.length>0">
        <div class="info-title">本次来款对应的已开销项发票</div>
        <div class="table-item" ng-repeat="item in TaskReview.result.invoices">
            <div class="list-item" ng-show="item.invoiceNo ">
                <div class="item-label">销项发票编号</div>
                <div class="flow-content" relative-module="Xm_OutputInvoice"
                    module-no="{{ item.invoiceNo  }}">
                    {{ item.invoiceNo  }}
                </div>
            </div>
            <div class="list-item">
                <div class="item-label">发票金额</div>
                <div class="flow-content">{{ item.invoiceAmount|NBFmt }}</div>
            </div>
            <div class="list-item">
                <div class="item-label">未到账金额</div>
                <div class="flow-content">{{ item.uncollected|NBFmt }}</div>
            </div>
            <div class="list-item">
                <div class="item-label">本次到账金额</div>
                <div class="flow-content">{{ item.gatheringAmount|NBFmt }}</div>
            </div>
        </div>
    </div>
      <div class="list table-list"
        ng-show="TaskReview.result.payPerson||TaskReview.result.payAccount||TaskReview.result.payBank">
        <div class="info-title">款项来源人</div>
        <div class="table-item">
          <div class="list-item">
            <div class="item-label">款项来源人</div>
            <div class="flow-content">{{ TaskReview.result.payPerson }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">款项来源人账号</div>
            <div class="flow-content">{{ TaskReview.result.payAccount }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">款项来源人开户行</div>
            <div class="flow-content">{{ TaskReview.result.payBank }}</div>
          </div>
        </div>
      </div>
      <div class="list table-list"
        ng-show="TaskReview.result.receivePerson||TaskReview.result.receiveAccount||TaskReview.result.receiveBank">
        <div class="info-title">收款人</div>
        <div class="table-item">
          <div class="list-item">
            <div class="item-label">收款人</div>
            <div class="flow-content">
              {{ TaskReview.result.receivePerson }}
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">收款人账号</div>
            <div class="flow-content">
              {{ TaskReview.result.receiveAccount }}
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">收款人开户行</div>
            <div class="flow-content">{{ TaskReview.result.receiveBank }}</div>
          </div>
        </div>
      </div>
      <!-- 附件 -->
      <div class="list-item list-item-textarea" file-list file-data="TaskReview.result.attachment" checked="true"></div>
    </div>
    <div gather-list form-key="formKey" data="TaskReview.result"></div>
    <!-- 审查日志 -->
    <div log-list taskid="process_id"></div>
  </div>
</div>